Skip to content

test: Added ability to switch the transport to UTP from the command line#1991

Merged
0xFA11 merged 10 commits intodevelopfrom
test/configuring-clients-multimachine
Jun 14, 2022
Merged

test: Added ability to switch the transport to UTP from the command line#1991
0xFA11 merged 10 commits intodevelopfrom
test/configuring-clients-multimachine

Conversation

@zain-mecklai
Copy link
Copy Markdown
Contributor

Added ability to switch the transport to UTP from the command line and also ensuring consistent handling of other command line arguments like "-ip" and "-p" for setting the server listen address or the client connect address.

More work to follow for other configuration types, mainly remote config via http.

@zain-mecklai zain-mecklai changed the title Added ability to switch the transport to UTP from the command line test: Added ability to switch the transport to UTP from the command line Jun 1, 2022

// Configuration via configuration file - all platform support but set at build time
if (ConfigurationType == ConfigurationType.Unknown)
{
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we add some form of debug log or warning that notifies the configuration type is unknown?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah, that's right. Previously if things weren't set up correctly we'd assert and fail the test but this looks like it'll continue on with no indication of what went wrong.

I'll make an appropriate message and submit an update shortly.

Copy link
Copy Markdown
Member

@NoelStephensUnity NoelStephensUnity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than my minor comment about adding some form of debug output when the configuration is unknown (was not sure when the next PR will be), the rest looks good to me!

Comment thread testproject/Assets/Tests/Runtime/MultiprocessRuntime/readme.md Outdated
@0xFA11 0xFA11 enabled auto-merge (squash) June 14, 2022 17:31
@0xFA11 0xFA11 merged commit 08e09c2 into develop Jun 14, 2022
@0xFA11 0xFA11 deleted the test/configuring-clients-multimachine branch June 14, 2022 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants